import request from '@/utils/request'

// 获得合作商总数
export function getPartner(params) {
  return request({
    url: '/user-service/partner/search',
    method: 'GET',
    params
  })
}
export function getpartnerCollect(params) {
  return request({
    url: '/order-service/report/partnerCollect',
    method: 'GET',
    params
  })
}

export function getorderCount(params) {
  return request({
    url: '/order-service/report/orderCount/',
    method: 'GET',
    params
  })
}
// 获取一定时间范围之内的收入,日销售
export function getorderAmount(params) {
  return request({
    url: '/order-service/report/orderAmount',
    method: 'GET',
    params
  })
}
// 获取一定时间范围之内的分成总数

export function gettotalBill(params) {
  return request({
    url: '/order-service/report/totalBill',
    method: 'GET',
    params
  })
}
// 获取一定时间范围之内的订单总数

export function getCount(params) {
  return request({
    url: '/order-service/report/orderCount',
    method: 'GET',
    params
  })
}

